<?php

namespace Design\Creational\Factory;

class FileLoggerFactory implements LoggerFactory
{

    private $filepath;


    public function __construct(string $filepath)
    {
        $this->filepath = $filepath;

    }//end __construct()


    public function createLogger()
    {
        return new FileLogger($this->filepath);

    }//end createLogger()


}//end class
